home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Nebula 1
/
Nebula One.iso
/
Mail
/
MailEnclosure
/
Source.v0.15
/
PopUpButton.m
< prev
next >
Wrap
Text File
|
1995-06-12
|
297b
|
19 lines
#import "PopUpButton.h"
@implementation Button (PopUpButton)
- setPopUpTitle: (const char *)str
{
int index = [[self target] indexOfItem: str];
if(index == -1)
return nil;
[self setTitle: str];
[[[self target] itemList] selectCellAt: index : 0];
return self;
}
@end